<template>
  <van-row>
    <van-nav-bar title="欢迎使用远昌管家" />
    <van-grid :column-num="3" :gutter="20">
      <van-grid-item class="btn" icon="description-o" text="订单信息" @click="goto('/order')" />
      <van-grid-item class="btn" icon="label-o" text="排产信息" to="/produce" @click="goto('/produce')" />
      <van-grid-item class="btn" icon="comment-o" text="产量登记" @click="goto('/output')" />
      <van-grid-item class="btn" icon="logistics" text="送货单" @click="goto('/shipment')" />
      <van-grid-item class="btn" icon="after-sale" text="收款" @click="goto('/receipt')" />
      <van-grid-item class="btn" icon="coupon-o" text="模具信息" @click="goto('/mold')" />
      <van-grid-item class="btn" icon="cash-o" text="计件工资" @click="goto('/pieceRateWage')" />
<!--      <van-grid-item class="btn" icon="wap-home-o" text="库存信息" @click="goto('/stock')" />
      <van-grid-item class="btn" icon="share-o" text="出库记录" @click="goto('/stockOut')" />-->
      <van-grid-item class="btn" icon="points" text="工序管理" @click="goto('/process')" />
      <van-grid-item class="btn" icon="user-circle-o" text="员工管理" @click="goto('/employee')" />
      <van-grid-item class="btn" icon="shop-o" text="产品库存" @click="goto('/product')" />
      <van-grid-item class="btn" icon="friends-o" text="客户信息" @click="goto('/customer')" />
      <van-grid-item class="btn" icon="contact-o" text="供应商信息" @click="goto('/supplier')" />
<!--      <van-grid-item class="btn" icon="contact-o" text="图表统计" @click="goto('/statistics')" />-->
    </van-grid>
  </van-row>
</template>

<script>

export default {
  name: 'QuickActions',
  data() {
    return {
    }
  },
  methods: {
    goto(path) {
      this.$router.push({ path: path })
    }
  }
}
</script>

<style scoped>
.btn :hover{
  transform: scale(1.1);
}
</style>
